package ModelLayer;

/**
 * Write a description of class Customer here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Customer extends Person
{
    private String cvr; // if customer is a business type, than he will have a CVR number
    private String type; // should either be business or private
    /**
     * Constructor for objects of class Customer
     */
    public Customer(int id, String name, String address, String postCode, String phone, String email, String cvr, String type)
    {
        // initialise instance variables
        super(id, name, address, postCode, phone, email);
        this.cvr = cvr;
        this.type = type;

    }

    public String getCvr() {
        return cvr;
    }

    public String getType() {
        return type;
    }

    public void setCvr(String cvr) {
        this.cvr = cvr;
    }

    public void setType(String type) {
        this.type = type;
    }
}

